export default [
    {
        /**授权登录 */
        name: 'loginServ',
        url: '/miniapp/auth/login',
        pem: true,
        requireAuth: false
    },
    {
        /**发送短信验证码 */
        name: 'sendSmsCodeServ',
        url: '/miniapp/send/sms_code',
        requireAuth: false
    },
    {
        /**手机号登录 */
        name: 'loginSmsServ',
        url: '/miniapp/auth/sms_login',
        requireAuth: false
    },
    {
        /**退出登录 */
        name: 'loginOutServ',
        url: '/miniapp/auth/login_out'
    },
    {
        /**获取店铺id */
        name: 'shopIdServ',
        url: '/miniapp/tenant/shop/list',
        method: 'get',
        requireAuth: false,
        pem: true,
        sld: false
    },
    {
        /**获取用户openid */
        name: 'loginWxinfoServ',
        url: '/miniapp/auth/wxInfo',
        method: 'get',
        requireAuth: false
    },
    {
        /**游客登录 */
        name: 'loginWxTouristServ',
        url: '/miniapp/auth/wx_login',
        requireAuth: false
    },
    {
        /**更新用户信息 */
        name: 'updateUserInfoServ',
        url: '/miniapp/auth/updateUser',
        method: 'get'
    },
    {
        /**获取用户信息 */
        name: 'getUserInfoServ',
        url: '/miniapp/auth/info',
        sld: false,
        pem: true,
        method: 'get'
    },
    {
        /**获取是否开启会员 */
        name: 'getMemberMineServ',
        url: '/miniapp/members/level/on',
        method: 'get',
        // 实际要
        // requireAuth: false,
        sld: false,
        pem: true
    },
    {
        /**保存会员实名认证 */
        name: 'saveRealNameServ',
        url: '/miniapp/dtb/user/realNameAuthentication/save',
        method: 'post',
        timeout: 150000
    },
    {
        /**会员实名认证信息 */
        name: 'getRealNameServ',
        url: '/miniapp/dtb/user/realNameAuthentication',
        method: 'get'
    },
    {
        /**是否显示员工助手 */
        name: 'isHelperShow',
        url: '/miniapp/staff-center/show',
        method: 'get'
    },
    {
        /**分享-复制链接 */
        name: 'shareShortLink',
        url: '/miniapp/share/short-link',
        method: 'post',
        requireAuth: false
    },
    {
        /**分享-二维码 */
        name: 'spreadQrcode',
        url: '/miniapp/spread/qrcode',
        method: 'post',
        requireAuth: false
    },
    {
        /**手机号快速验证组件调用次数超限通知 */
        name: 'notifySms',
        url: '/miniapp/send/notify_sms',
        method: 'post',
        requireAuth: false
    }
];
